<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>

<head>

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content=" Master  Login Form Widget Tab Form,Login Forms,Sign up Forms,Registration Forms,News letter Forms,Elements"/>
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
</head>

<body style="background-image: url('img/dl.jpg');background-size: cover">
	<div class="padding-all">
		<div class="header">
			<h1>婚纱管理员登录</h1>
		</div>

		<div class="design-w3l">
			<div class="mail-form-agile">
				<form action="login" method="post">
					<input type="text" name="name" placeholder="User Name  " required=""/>
					<input type="text"  name="pass" class="padding" placeholder="Password" required=""/>
					<input type="submit" value="登录">
				</form>
			</div>
		  <div class="clear"> </div>
		</div>
		
		<div class="footer">
			<p> 2019  Wedding dress <a href="http://localhost/" > 返回首页 </a></p>
		</div>
	</div>
</body>
<script>
	function isOk(){
		var ok = '<%= request.getParameter("isOk") %>';
		if(ok=="no"){
			alert("用户名或密码错误")
		}
	}
	isOk();
</script>
</html>